import { createApp } from "vue";
import "./style.css";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "./mock/index";

import * as ElementPlusIconsVue from "@element-plus/icons-vue";

const app = createApp(App);
app.use(store);
app.use(router);

for (const key in ElementPlusIconsVue) {
  app.component(key, ElementPlusIconsVue[key]);
}

app.mount("#app");
